/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package object;

import javax.media.opengl.GL;

/**
 *
 * @author dheath
 */
public class Sphere implements Shape
{
    private Point center;
    private float radius;
    private Color color;
    
    public Sphere(Point center, float radius)
    {
        this.center = center;
        this.radius = radius;
    }
    public void draw(GL gl, Zbuffer zbuffer, Point lookFrom, Polygon world, boolean shading)
    {
        
    }
    
    public void multiplyMatrix(CS455Matrix m)
    {
        center = m.multiplyPoint(center);
    }

    public Point getCenter()
    {
        return center;
    }

    public void setCenter(Point center)
    {
        this.center = center;
    }

    public float getRadius()
    {
        return radius;
    }

    public void setRadius(float radius)
    {
        this.radius = radius;
    }
    public Color getColor()
    {
        return color;
    }

    public void setColor(Color color)
    {
        this.color = color;
    }
}
